Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test #1

Merged
merged 1 commit into from
Apr 25, 2017
Merged

test #1

merged 1 commit into from
Apr 25, 2017

Conversation

PengTian0
Copy link
Collaborator

@PengTian0 PengTian0 commented Mar 24, 2017

No description provided.

@PengTian0
Copy link
Collaborator Author

BUILD on-core #28 : FAILURE

BUILD on-core RackHD#28 Error Logs ▼Test Name: test12_check_pollers Error Details: ('Connection aborted.', BadStatusLine("''",)) -------------------- >> begin captured stdout << --------------------- restful: Action = get , URL = http://localhost:9090/api/2.0/pollers restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: INFO: +1.23 - STARTING TEST: [test12_check_pollers (test.deploy.rackhd_stack_init.rackhd_stack_init)]
test.run: INFO_5: **** Waiting for pollers.
test.run: INFO_5: **** Waiting for pollers data.
--------------------- >> end captured logging << ---------------------
Stack Trace: File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/home/jenkins/workspace/on-core/RackHD/test/deploy/rackhd_stack_init.py", line 247, in test12_check_pollers
self.assertTrue(self.check_for_active_poller_data(MAX_CYCLES), 'All pollers are not active')
File "/home/jenkins/workspace/on-core/RackHD/test/deploy/rackhd_stack_init.py", line 282, in check_for_active_poller_data
poll_data = fit_common.rackhdapi("/api/2.0/pollers/" + id + "/data/current")
File "/home/jenkins/workspace/on-core/RackHD/test/common/fit_common.py", line 616, in rackhdapi
rest_action=action, rest_payload=payload, rest_timeout=timeout, rest_headers=headers)
File "/home/jenkins/workspace/on-core/RackHD/test/common/fit_common.py", line 667, in restful
headers=rest_headers)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/adapters.py", line 426, in send
raise ConnectionError(err, request=request)
'('Connection aborted.', BadStatusLine("''",))\n-------------------- >> begin captured stdout << ---------------------\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current\n\n--------------------- >> end captured stdout << ----------------------\n-------------------- >> begin captured logging << --------------------\nroot: INFO: +1.23 - STARTING TEST: [test12_check_pollers (test.deploy.rackhd_stack_init.rackhd_stack_init)]\ntest.run: INFO_5: **** Waiting for pollers.\ntest.run: INFO_5: **** Waiting for pollers data.\n--------------------- >> end captured logging << ---------------------'

@PengTian0
Copy link
Collaborator Author

BUILD on-core #28 : FAILURE

BUILD on-core RackHD#28 Error Logs ▼Test Name: test12_check_pollers Error Details: ('Connection aborted.', BadStatusLine("''",)) -------------------- >> begin captured stdout << --------------------- restful: Action = get , URL = http://localhost:9090/api/2.0/pollers restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: INFO: +1.23 - STARTING TEST: [test12_check_pollers (test.deploy.rackhd_stack_init.rackhd_stack_init)]
test.run: INFO_5: **** Waiting for pollers.
test.run: INFO_5: **** Waiting for pollers data.
--------------------- >> end captured logging << ---------------------
Stack Trace: File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/home/jenkins/workspace/on-core/RackHD/test/deploy/rackhd_stack_init.py", line 247, in test12_check_pollers
self.assertTrue(self.check_for_active_poller_data(MAX_CYCLES), 'All pollers are not active')
File "/home/jenkins/workspace/on-core/RackHD/test/deploy/rackhd_stack_init.py", line 282, in check_for_active_poller_data
poll_data = fit_common.rackhdapi("/api/2.0/pollers/" + id + "/data/current")
File "/home/jenkins/workspace/on-core/RackHD/test/common/fit_common.py", line 616, in rackhdapi
rest_action=action, rest_payload=payload, rest_timeout=timeout, rest_headers=headers)
File "/home/jenkins/workspace/on-core/RackHD/test/common/fit_common.py", line 667, in restful
headers=rest_headers)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/adapters.py", line 426, in send
raise ConnectionError(err, request=request)
'('Connection aborted.', BadStatusLine("''",))\n-------------------- >> begin captured stdout << ---------------------\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current\n\n--------------------- >> end captured stdout << ----------------------\n-------------------- >> begin captured logging << --------------------\nroot: INFO: +1.23 - STARTING TEST: [test12_check_pollers (test.deploy.rackhd_stack_init.rackhd_stack_init)]\ntest.run: INFO_5: **** Waiting for pollers.\ntest.run: INFO_5: **** Waiting for pollers data.\n--------------------- >> end captured logging << ---------------------'

BUILD on-core RackHD#28 Error Logs ▼Test Name: test12_check_pollers Error Details: ('Connection aborted.', BadStatusLine("''",)) -------------------- >> begin captured stdout << --------------------- restful: Action = get , URL = http://localhost:9090/api/2.0/pollers restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: INFO: +1.23 - STARTING TEST: [test12_check_pollers (test.deploy.rackhd_stack_init.rackhd_stack_init)]
test.run: INFO_5: **** Waiting for pollers.
test.run: INFO_5: **** Waiting for pollers data.
--------------------- >> end captured logging << ---------------------
Stack Trace: File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/home/jenkins/workspace/on-core/RackHD/test/deploy/rackhd_stack_init.py", line 247, in test12_check_pollers
self.assertTrue(self.check_for_active_poller_data(MAX_CYCLES), 'All pollers are not active')
File "/home/jenkins/workspace/on-core/RackHD/test/deploy/rackhd_stack_init.py", line 282, in check_for_active_poller_data
poll_data = fit_common.rackhdapi("/api/2.0/pollers/" + id + "/data/current")
File "/home/jenkins/workspace/on-core/RackHD/test/common/fit_common.py", line 616, in rackhdapi
rest_action=action, rest_payload=payload, rest_timeout=timeout, rest_headers=headers)
File "/home/jenkins/workspace/on-core/RackHD/test/common/fit_common.py", line 667, in restful
headers=rest_headers)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/adapters.py", line 426, in send
raise ConnectionError(err, request=request)
'('Connection aborted.', BadStatusLine("''",))\n-------------------- >> begin captured stdout << ---------------------\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current\n\n--------------------- >> end captured stdout << ----------------------\n-------------------- >> begin captured logging << --------------------\nroot: INFO: +1.23 - STARTING TEST: [test12_check_pollers (test.deploy.rackhd_stack_init.rackhd_stack_init)]\ntest.run: INFO_5: **** Waiting for pollers.\ntest.run: INFO_5: **** Waiting for pollers data.\n--------------------- >> end captured logging << ---------------------'

@PengTian0
Copy link
Collaborator Author

BUILD on-core #28 : FAILURE

BUILD on-core RackHD#28 Error Logs ▼Test Name: test12_check_pollers Error Details: ('Connection aborted.', BadStatusLine("''",)) -------------------- >> begin captured stdout << --------------------- restful: Action = get , URL = http://localhost:9090/api/2.0/pollers restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current
restful: Status code = 200

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current
restful: Status code = 204

restful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current

--------------------- >> end captured stdout << ----------------------
-------------------- >> begin captured logging << --------------------
root: INFO: +1.23 - STARTING TEST: [test12_check_pollers (test.deploy.rackhd_stack_init.rackhd_stack_init)]
test.run: INFO_5: **** Waiting for pollers.
test.run: INFO_5: **** Waiting for pollers data.
--------------------- >> end captured logging << ---------------------
Stack Trace: File "/usr/lib/python2.7/unittest/case.py", line 331, in run
testMethod()
File "/home/jenkins/workspace/on-core/RackHD/test/deploy/rackhd_stack_init.py", line 247, in test12_check_pollers
self.assertTrue(self.check_for_active_poller_data(MAX_CYCLES), 'All pollers are not active')
File "/home/jenkins/workspace/on-core/RackHD/test/deploy/rackhd_stack_init.py", line 282, in check_for_active_poller_data
poll_data = fit_common.rackhdapi("/api/2.0/pollers/" + id + "/data/current")
File "/home/jenkins/workspace/on-core/RackHD/test/common/fit_common.py", line 616, in rackhdapi
rest_action=action, rest_payload=payload, rest_timeout=timeout, rest_headers=headers)
File "/home/jenkins/workspace/on-core/RackHD/test/common/fit_common.py", line 667, in restful
headers=rest_headers)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/api.py", line 67, in get
return request('get', url, params=params, **kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/api.py", line 53, in request
return session.request(method=method, url=url, **kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/sessions.py", line 468, in request
resp = self.send(prep, **send_kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
r = adapter.send(request, **kwargs)
File "/home/jenkins/workspace/on-core/RackHD/test/.venv/on-build-config/local/lib/python2.7/site-packages/requests/adapters.py", line 426, in send
raise ConnectionError(err, request=request)
'('Connection aborted.', BadStatusLine("''",))\n-------------------- >> begin captured stdout << ---------------------\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd533/data/current\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52e/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52d/data/current\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52c/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52b/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52a/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd529/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd528/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd527/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd526/data/current\nrestful: Status code = 200 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd525/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce7e9145219d0a6dd524/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd536/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd535/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd534/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd532/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce879145219d0a6dd531/data/current\nrestful: Status code = 204 \n\nrestful: Action = get , URL = http://localhost:9090/api/2.0/pollers/58d3ce839145219d0a6dd52f/data/current\n\n--------------------- >> end captured stdout << ----------------------\n-------------------- >> begin captured logging << --------------------\nroot: INFO: +1.23 - STARTING TEST: [test12_check_pollers (test.deploy.rackhd_stack_init.rackhd_stack_init)]\ntest.run: INFO_5: **** Waiting for pollers.\ntest.run: INFO_5: **** Waiting for pollers data.\n--------------------- >> end captured logging << ---------------------'

@JenkinsRHD
Copy link

BUILD on-http #1 : FAILURE

@PengTian0
Copy link
Collaborator Author

BUILD on-http #3 : FAILURE

@PengTian0
Copy link
Collaborator Author

BUILD on-http #4 : FAILURE

@PengTian0
Copy link
Collaborator Author

test this please

@PengTian0 PengTian0 merged commit 0e4b9ca into RackHD-Mirror:master Apr 25, 2017
panpan0000 pushed a commit that referenced this pull request Sep 14, 2017
configuration and event stuff for wsman microservices
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants